package com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.biz.service.KpiCateService;
import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.dto.KpiCateDTO;
import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.dto.KpiConditionDTO;
import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.intergration.dao.KpiCateDAO;

@Component("kpiCateService")
public class KpiCateServiceImpl implements KpiCateService {
	@Autowired
	private KpiCateDAO kpiCateDAO;

	/**
	 * 查询指标数据
	 * 
	 * @param condition
	 * @return
	 */
	@Override
	public List<KpiCateDTO> queryKpi(KpiConditionDTO condition) {
		List<KpiCateDTO> list = kpiCateDAO.getKpiData(condition);
		return list;
	}

}
